package com.ant.time.line.activities;

import android.databinding.DataBindingUtil;
import android.view.View;

import com.ant.time.line.R;


/**
 * Created with AS
 * User: Ant
 * Date: 2018/10/7
 * Time: 11:24
 * Name: IndexActivity
 * Description:
 *
 * @author Ant
 * @version 1.0.0
 */
public class IndexActivity extends BaseActivity {


    @Override
    public void initLayout() {
//        setContentView(R.layout.ac_index);
        DataBindingUtil.setContentView(this, R.layout.ac_index);
    }

    @Override
    public void initUi() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch (v.getId()) {
            case R.id.ac_index_obt1:
                jump(TimeLineActivity.class);
                break;
            case R.id.ac_index_obt2:
                jump(MainActivity.class);
                break;
            default:
        }

    }
}
